<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>MNK_Image: Fichero Fuente Escritorio/MKY_Image/MKY_Image.h</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generado por Doxygen 1.5.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Página&nbsp;principal</span></a></li>
      <li><a href="annotated.html"><span>Clases</span></a></li>
      <li class="current"><a href="files.html"><span>Archivos</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Lista&nbsp;de&nbsp;archivos</span></a></li>
    </ul>
  </div>
<h1>Escritorio/MKY_Image/MKY_Image.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00002"></a>00002 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
<a name="l00003"></a>00003 <span class="preprocessor">#include &lt;iostream&gt;</span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;SDL/SDL.h&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;SDL/SDL_image.h&gt;</span>
<a name="l00006"></a>00006 
<a name="l00007"></a>00007 
<a name="l00008"></a>00008 <span class="keyword">using namespace </span>std;
<a name="l00009"></a>00009 
<a name="l00018"></a><a class="code" href="class_m_k_y___image.html">00018</a> <span class="keyword">class </span><a class="code" href="class_m_k_y___image.html" title="Clase para facilitar el cargar y mostrar imagenes.  por maddmax666.">MKY_Image</a>
<a name="l00019"></a>00019 {
<a name="l00020"></a>00020     <span class="keyword">private</span>:
<a name="l00021"></a>00021         
<a name="l00022"></a><a class="code" href="class_m_k_y___image.html#58bddae1ac27b6a8b9bcf79b232e03ec">00022</a>         SDL_Rect        <a class="code" href="class_m_k_y___image.html#58bddae1ac27b6a8b9bcf79b232e03ec" title="Posicion de la imagen.">m_pos</a>;      
<a name="l00023"></a><a class="code" href="class_m_k_y___image.html#bbefe23cee8ed94320cd74645368cbf4">00023</a>         SDL_Surface     *<a class="code" href="class_m_k_y___image.html#bbefe23cee8ed94320cd74645368cbf4" title="Imagen que sera mostrada.">m_image</a>;   
<a name="l00024"></a><a class="code" href="class_m_k_y___image.html#e1c2be4ebe81cc7014f25d90cfce0ecb">00024</a>         SDL_Surface     *<a class="code" href="class_m_k_y___image.html#e1c2be4ebe81cc7014f25d90cfce0ecb" title="Puntero al screen surface.">m_screen</a>;  
<a name="l00025"></a><a class="code" href="class_m_k_y___image.html#a4b195947d1bc4c4a228c8c1259e4e7a">00025</a>         Uint32          <a class="code" href="class_m_k_y___image.html#a4b195947d1bc4c4a228c8c1259e4e7a" title="El color que sera transparente.">m_colorKey</a>; 
<a name="l00026"></a>00026         
<a name="l00027"></a>00027         
<a name="l00028"></a>00028     <span class="keyword">public</span>:
<a name="l00030"></a>00030         <a class="code" href="class_m_k_y___image.html#1eb33481790a28eef367b11fe4661065" title="Constructor 1, sin parametros.">MKY_Image</a>();
<a name="l00031"></a>00031         
<a name="l00039"></a>00039         <a class="code" href="class_m_k_y___image.html#1eb33481790a28eef367b11fe4661065" title="Constructor 1, sin parametros.">MKY_Image</a>(SDL_Surface *_screen, <span class="keywordtype">char</span> *_imgName, SDL_Rect _pos);
<a name="l00040"></a>00040         
<a name="l00047"></a>00047         <span class="keywordtype">void</span> <a class="code" href="class_m_k_y___image.html#c5d7bd4951e967999e1fbc484dcf75c4" title="Carga la imagen, lista para dibujar  .">loadImage</a>(<span class="keywordtype">char</span> *_imgName);
<a name="l00048"></a>00048         
<a name="l00050"></a>00050         <span class="keywordtype">void</span> <a class="code" href="class_m_k_y___image.html#48530a1f4bdcade4d8a214cb2c8ef84b" title="Dibuja la imagen cargada en pantalla.">drawImage</a>();
<a name="l00051"></a>00051 };
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generado el Wed Nov 26 03:33:49 2008 para MNK_Image por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.7.1 </small></address>
</body>
</html>
